package hongjiang.info

object PatternMatching5 extends App {
  import scala.tools.reflect.ToolBox
  val tb = scala.reflect.runtime.currentMirror.mkToolBox()
  val tree = tb.parse("for(i@2 <- List(1,2,3) ) {println(i)}") //是否能用来做filterMap

  
  
  List("aa", "").withFilter { ""== }.map { "r"+ }
}